import React from 'react';
import { Switch, Route } from 'react-router-dom';

const Routes: React.FC = () => {
    return (
    <Switch>
            <Route path="/" component={() => <div>Home Page</div>} />
            <Route path="*" Component={() => <div>404 Not Found</div>} />
        </Switch>
    )
};

export default Routes;
